import {connect} from "react-redux";
import React from "react";
import {Card} from "antd";

class DevicePage extends React.Component {

  constructor(props) {
    super(props);
    this.state = {
      demo: 1
    }
  }

  render() {
    return <div style={{width: '100%', height: '100%'}}>
      <Card bordered={true} style={{marginTop: 10}}>
        <div>
          {this.state.demo}
        </div>
        <div>
          7
        </div>
        <div>
          7
        </div>
      </Card>
    </div>
  }
}

const mapStateToProps = (state) => {
  return {}
}

const mapDispatchToProps = (dispatch) => {
  return {}
}

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(DevicePage)